package com.li.service;

import com.li.pojo.User;

import java.util.List;


public interface UserService {
    public User login(String name, String password);
    public List<User> selectAllUserById(List<String> uids);
    public int addUser(User user);
    public User checkAddUser(String name);
    public  List<User> selectUsers(String id ,String key,int page,int pageSize);
    public long count(String id ,String key);
    public int deleteUsers(List<Integer> ids);
    public User selectOne(int id);
    public int updateUser(User user);
    public List<User> selectAllUsers();
}
